﻿<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	 xmlns:System="clr-namespace:System;assembly=mscorlib" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">
	<!-- Resource dictionary entries should be defined here. -->
	<System:String x:Key="AppName">TourGuideApp</System:String>
	<Style x:Key="HyperlinkButtonStyle1" TargetType="HyperlinkButton">
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="HyperlinkButton">
					<Grid>
						<VisualStateManager.VisualStateGroups>
							<VisualStateGroup x:Name="CommonStates">
								<VisualStateGroup.Transitions>
									<VisualTransition GeneratedDuration="0:0:0.2" To="Pressed">
										<VisualTransition.GeneratedEasingFunction>
											<CircleEase EasingMode="EaseInOut"/>
										</VisualTransition.GeneratedEasingFunction>
										<Storyboard>
											<DoubleAnimation Duration="0:0:0.2" To="1" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="contentPresenter">
												<DoubleAnimation.EasingFunction>
													<CircleEase EasingMode="EaseInOut"/>
												</DoubleAnimation.EasingFunction>
											</DoubleAnimation>
											<DoubleAnimation Duration="0:0:0.2" To="0" Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.LocalOffsetZ)" Storyboard.TargetName="rectangle">
												<DoubleAnimation.EasingFunction>
													<CircleEase EasingMode="EaseInOut"/>
												</DoubleAnimation.EasingFunction>
											</DoubleAnimation>
											<DoubleAnimation Duration="0:0:0.2" To="0" Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.LocalOffsetZ)" Storyboard.TargetName="rectangle1">
												<DoubleAnimation.EasingFunction>
													<CircleEase EasingMode="EaseInOut"/>
												</DoubleAnimation.EasingFunction>
											</DoubleAnimation>
											<DoubleAnimation Duration="0:0:0.2" To="0" Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.LocalOffsetY)" Storyboard.TargetName="rectangle1">
												<DoubleAnimation.EasingFunction>
													<CircleEase EasingMode="EaseInOut"/>
												</DoubleAnimation.EasingFunction>
											</DoubleAnimation>
											<ColorAnimation Duration="0:0:0.2" To="{StaticResource PhoneBackgroundColor}" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="rectangle1">
												<ColorAnimation.EasingFunction>
													<CircleEase EasingMode="EaseInOut"/>
												</ColorAnimation.EasingFunction>
											</ColorAnimation>
										</Storyboard>
									</VisualTransition>
									<VisualTransition From="Pressed" GeneratedDuration="0:0:0.2">
										<VisualTransition.GeneratedEasingFunction>
											<CircleEase EasingMode="EaseInOut"/>
										</VisualTransition.GeneratedEasingFunction>
									</VisualTransition>
								</VisualStateGroup.Transitions>
								<VisualState x:Name="Disabled"/>
								<VisualState x:Name="Normal"/>
								<VisualState x:Name="MouseOver"/>
								<VisualState x:Name="Pressed">
									<Storyboard>
										<DoubleAnimation Duration="0" To="1" Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="contentPresenter" d:IsOptimized="True"/>
										<DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.LocalOffsetZ)" Storyboard.TargetName="rectangle" d:IsOptimized="True"/>
										<DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.LocalOffsetZ)" Storyboard.TargetName="rectangle1" d:IsOptimized="True"/>
										<DoubleAnimation Duration="0" To="0" Storyboard.TargetProperty="(UIElement.Projection).(PlaneProjection.LocalOffsetY)" Storyboard.TargetName="rectangle1" d:IsOptimized="True"/>
										<ColorAnimation Duration="0" To="{StaticResource PhoneBackgroundColor}" Storyboard.TargetProperty="(Shape.Fill).(SolidColorBrush.Color)" Storyboard.TargetName="rectangle1" d:IsOptimized="True"/>
										<DoubleAnimation Duration="0" To="1.1" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleX)" Storyboard.TargetName="rectangle" d:IsOptimized="True"/>
										<DoubleAnimation Duration="0" To="1.1" Storyboard.TargetProperty="(UIElement.RenderTransform).(CompositeTransform.ScaleY)" Storyboard.TargetName="rectangle" d:IsOptimized="True"/>
									</Storyboard>
								</VisualState>
							</VisualStateGroup>
						</VisualStateManager.VisualStateGroups>
						<Rectangle x:Name="rectangle1" RadiusY="5" RadiusX="5">
							<Rectangle.Fill>
								<SolidColorBrush Color="{StaticResource PhoneAccentColor}"/>
							</Rectangle.Fill>
							<Rectangle.Projection>
								<PlaneProjection/>
							</Rectangle.Projection>
							<Rectangle.Stroke>
								<SolidColorBrush Color="{StaticResource PhoneAccentColor}"/>
							</Rectangle.Stroke>
						</Rectangle>
        	      
						<Rectangle x:Name="rectangle" Fill="{StaticResource PhoneAccentBrush}" StrokeThickness="5" RadiusY="4" RadiusX="4" Margin="3,4,4,3" RenderTransformOrigin="0.5,0.5">
							<Rectangle.RenderTransform>
								<CompositeTransform/>
							</Rectangle.RenderTransform>
							<Rectangle.Projection>
								<PlaneProjection/>
							</Rectangle.Projection>
							<Rectangle.Stroke>
								<SolidColorBrush Color="{StaticResource PhoneBackgroundColor}"/>
							</Rectangle.Stroke>
						</Rectangle>
						<ContentPresenter x:Name="contentPresenter" HorizontalAlignment="Center" VerticalAlignment="Center" Content="{TemplateBinding Content}"/>
					</Grid>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
		<Setter Property="FontFamily" Value="Segoe WP Black"/>
	</Style>
</ResourceDictionary>